﻿package org.xhs.report.common.model
{
    import flash.events.*;

    public class LocatEvent extends Event
    {
        public static const START_LOADING:String = "START_LOADING";
        public static const SHOW_LOADING:String = "SHOW_LOADING";
        public static const STOP_LOADING:String = "STOP_LOADING";
        public static const PAGE_LOADED:String = "PAGE_LOADED";
        public static const ADD_2_SCROLLPANE:String = "ADD_2_SCROLLPANE";
        public static const SCROLL_POS_CHANGE:String = "SCROLL_POS_CHANGE";
        public static const PROCESS_NO_DOC:String = "PROCESS_NO_DOC";
        public static const PROCESS_DEL_DOC:String = "PROCESS_DEL_DOC";
        public static const FULLSCREEN_SWITCHING:String = "FULLSCREEN_SWITCHING";
        public static const PAGETH_CHANGED_SCROLL:String = "PAGETH_CHANGED_BY_TOOLBAR";
        public static const PAGETH_CHANGED_PAGEGROUP:String = "PAGETH_CHANGED_BY_SCROLL";
        public static const SEARCH_RESULT:String = "SEARCH_RESULT";
        public static const SCENCE_CHANGED:String = "SCENCE_CHANGED";
        public static const SCENCE_RENDERED:String = "SCENCE_RENDERED";
        public static const FORMAT_CHANGED:String = "FORMAT_CHANGED";
        public static const ZOOM_CHANGED:String = "ZOOM_CHANGED";
        public static const BLANKPAGE_ADDED:String = "BLANKPAGE_ADDED";
        public static const PAGE_REARRANGED:String = "PAGE_REARRANGED";

        public function LocatEvent(param1:String, param2:Boolean = false, param3:Boolean = false)
        {
            super(param1, param2, param3);
            return;
        }// end function

        override public function toString() : String
        {
            return formatToString("LocatEvent", "type", "bubbles", "cancelable");
        }// end function

        override public function clone() : Event
        {
            return new LocatEvent(type, bubbles, cancelable);
        }// end function

    }
}
